import main from "@/components/main";

const routes = [
    {
        path: '/login',
        name: 'login',
        title: "登录",
        hide: true,
        component: () => import("../views/login/index")
    },
    {
        path: '',
        name: 'home',
        title: "首页",
        icon: "home",
        component: () => import("@/views/home/index")
    },
    {
        path: '/inMonitor',
        name: 'inMonitor',
        title: "在院监测",
        icon: "zyjc",
        component: () => import("../views/home/index")
    },
    {
        path: '/DRGSurplus',
        name: 'DRGSurplus',
        title: "DIP结余分析",
        icon: "jyfx",
        component: main,
        children: [
            {
                path: 'officeSurplus',
                name: 'officeSurplus',
                title: "科室结余分析",
                component: () => import("../views/officeSurplus/officeSurplus")
            },
            {
                path: 'medicalSurplus',
                name: 'medicalSurplus',
                title: "医疗组结余分析",
                component: () => import("../views/medicalSurplus/medicalSurplus")
            },
            {
                path: 'doctorSurplus',
                name: 'doctorSurplus',
                title: "医生结余分析",
                component: () => import("../views/doctorSurplus/doctorSurplus")
            },
            {
                path: 'illnessSurplus',
                name: 'illnessSurplus',
                title: "病组结余分析",
                component: () => import("../views/illnessSurplus/illnessSurplus.vue"),
                children: [
                    {
                        path: 'illnessDetails',
                        name: 'illnessDetails',
                        title: "病组详情",
                        component: () => import("../views/illnessSurplus/illnessDetails.vue")
                    }
                ]
            },
            {
                path: 'drgCase',
                name: 'drgCase',
                title: "DIP病例分析",
                component: () => import("../views/drgCase/drgCase")
            },
            {
                path: 'wholeCollege',
                name: 'wholeCollege',
                title: "全院病例分析",
                component: () => import("../views/wholeCollege/wholeCollege")
            },
        ]
    },
    {
        path: '/evaluate',
        name: 'evaluate',
        title: "DIP绩效评价",
        icon: "jxpj",
        component: main,
        children: [
            {
                path: "comprehensive",
                name: "comprehensive",
                title: "科室综合评价",
                component: () => import("@/views/comprehensive/comprehensive")
            },
            {
                path: "analyse",
                name: "analyse",
                title: "科室目标分析",
                component: () => import("@/views/analyse/analyse")
            }
        ]
    },
    {
        path: '/ControlCost',
        name: 'ControlCost',
        title: "控费状态监测",
        icon: "kfzt",
        component: main,
        children: [
            {
                path: "orientation",
                name: "orientation",
                title: "控费方向监测",
                component: () => import("@/views/orientation/orientation")
            }
        ]
    },
    {
        path: '/abnormal',
        name: 'abnormal',
        title: "异常行为监测",
        icon: "ycxw",
        component: main,
        children: [
            {
                path: "multiplying",
                name: "multiplying",
                title: "高低倍率病例分析",
                component: () => import("@/views/multiplying/multiplying")
            },
            {
                path: "readmission",
                name: "readmission",
                title: "再入院监测",
                component: () => import("@/views/readmission/readmission")
            },
            {
                path: "unreasonable",
                name: "unreasonable",
                title: "不合理入院",
                component: () => import("@/views/unreasonable/unreasonable")
            }
        ]
    },
    {
        path: '/system',
        name: 'system',
        title: "系统管理",
        icon: "xtsz",
        component: main,
        children: [
            {
                path: 'role',
                name: 'role',
                title: "角色管理",
                component: () => import("../views/role/list")
            },
            {
                path: 'user',
                name: 'user',
                title: "用户管理",
                component: () => import("../views/user/list")
            },
            {
                path: 'Department',
                name: 'Department',
                title: "科室管理",
                component: () => import("../views/Department/Department")
            },
            {
                path: 'doctor',
                name: 'doctor',
                title: "医生管理",
                component: () => import("../views/doctor/doctor")
            },
            {
                path: 'doctorGroup',
                name: 'doctorGroup',
                title: "医疗组管理",
                component: () => import("../views/doctorGroup/doctorGroup")
            },
        ]
    }
]

export default routes;


